home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.9 KB | 43 lines | [TEXT/GEOL] |
- Item forwarded by A33 to A34
-
- Item 3932933 19-April-90 06:44PDT
-
- From: ALGER Alger, Jeff,VCA
-
- To: A14 Carnegie Mellon, Rob Chandok,PRA
-
- cc: MACAPP.TECH$ MacApp Technical
-
- Sub: Re: Re: Assertions in MacApp
-
- Rob,
-
- Amen. There is too much "discovery" of old ideas out there, and assertion is
- one of them. All major languages are Turing machines, so there is no
- difference between what you can, in theory, do from one language to another.
- The differences are all in degree of difficulty to accomplish certain
- objectives versus execution time and space.
-
- On the subject of "for all" and "there exists," that (sigh) would be a welcome
- addition to Object Pascal, but requires a good deal more infrastructure than OP
- provides. Specifically, OP does not have the concept of a set of objects, let
- alone placing all objects into "master" sets based on class or anything else.
-
- I liked the term "syntactic sugar" applied to assertions in Eiffel, but would
- take that one step further. Objects in OP are, to me, syntactic sugar plus a
- little bit of dispatch glue, not objects in the same sense as SmallTalk, CLOS,
- Object Prolog, etc., etc., etc. "Even" C++ allows allocation and deallocation
- of storage of objects to be determined separately from the behavior of the
- objects themselves (a class behavior), class variables, and a number of other
- blue-blood OOP features. In C++, one can at least conveniently superimpose
- maintenance of class sets and, therefore, "for all" and "there exists", without
- changing the public interface to a class's objects. C++ has its problems, too,
- but the point here is that one can and should do MUCH better than OP.
-
- Ah, nothing like stirring up a little controversy in the morning.
-
- Jeff Alger
- Exis
- A Technology Firm of KPMG Peat Marwick
-
-